package com.gin.kotlin.gf2gamecommunity.base

import androidx.navigation.NavHostController

open class Navigator(private val navHostController: NavHostController) {
    fun onPopBackStack() = navHostController.popBackStack()
    fun <T : Any> nav(route: T) = navHostController.navigate(route)

    companion object {
        private val TAG = Navigator::class.java.simpleName
    }
}